package com.shelpe.services.tenant.mongomodel;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.util.MultiValueMap;

import lombok.Data;

@Document(collection="simbad_task")
@Data
public class SimbadTask {
	
	@Id
	private String id;
	
	@Indexed
	private String serviceId;
	
	@Indexed
	private String taskId;
	
	private String verb;
	
	private MultiValueMap<String, String> headers;
	
	private MultiValueMap<String, String> params;
	
	private Date createTime;
	
	private Date lastTime;
	
	private Long freq;
	
	private Integer status;
	
	private Long durTime;

}

